<?php PremiumPress_Header();  ?>

<style>
select { border-radius: 0px; -webkit-border-radius: 0px; -moz-border-radius: 0px; }
</style>

<div id="premiumpress_box1" class="premiumpress_box premiumpress_box-100"><div class="premiumpress_boxin"><div class="header">
<h3><img src="<?php bloginfo('template_url'); ?>/images/premiumpress/h-ico/cash.png" align="absmiddle"> Checkout</h3>							 
<ul>
	<li><a rel="premiumpress_tab1" href="#" <?php if(!isset($_POST['showtax'])){ ?>class="active"<?php } ?>>General Setup</a></li>
	<li><a rel="premiumpress_tab2" href="#">Tax</a></li>
    <li><a rel="premiumpress_tab3" href="#">Coupons</a></li>
	<?php if (get_option("shopperpress_system") == "credit") { ?><li><a rel="premiumpress_tab4" href="#">Credit Packages</a></li><?php } ?>
	<?php if(get_option("checkout_ctax_enable") =="yes"){ ?><li><a rel="premiumpress_tab5" href="#" <?php if(isset($_POST['showtax'])){ ?>class="active"<?php } ?>>Country/State Tax</a></li><?php } ?>
	<li><a rel="premiumpress_tab6" href="#">Promotions</a></li>
</ul>
</div>

<div id="premiumpress_tab1" class="content">
<form method="post" name="ShopperPress" target="_self">
<input name="submitted" type="hidden" value="yes" />

<table class="maintable" style="background:white;" id="g_1">


	<tr class="mainrow">
		<td class="titledesc">Checkout Setup</td>
		<td class="forminp">			
			<select name="adminArray[checkout_setup]" style="width: 400px; font-size:14px;">
				<option value="email" <?php if(get_option("checkout_setup") =="email"){ print "selected"; }?>>Email orders to me rather than ask for payment</option>
				<option value="pay" <?php if(get_option("checkout_setup") =="pay"){ print "selected"; }?>>Ask for payment.</option>
			</select><br />
			<small>How would you like the system to handle the checkout pages?</small>
		</td>
	</tr>

 	<tr class="mainrow">
		<td class="titledesc">Skip Registration?</td>
		<td class="forminp">
			
			<select name="adminArray[checkout_skip_registration]" style="width: 100px; font-size:14px;">
				<option value="yes" <?php if(get_option("checkout_skip_registration") =="yes"){ print "selected";} ?>>Yes</option>
				<option value="no" <?php if(get_option("checkout_skip_registration") =="no"){ print "selected";} ?>>No</option>
			</select><br />
			<small>Allow people to skip the registration and delivery address options and go directly to payment. <b>Tax/Shipping costs may not be aplied.</b> </small> 
		</td>
	</tr> 

	<?php if(get_option("checkout_setup") =="email"){ ?>

	<tr class="mainrow">
		<td class="titledesc">Email Checkout Description
		</td><td class="forminp">
			 
			<textarea name="adminArray[checkout_email_text]" type="text" class="txt" style="width:550px;height:150px;"><?php echo stripslashes(get_option("checkout_email_text")); ?></textarea>
 
			<br />
			<small>Enter any text you like to describe what will happen to the order now that's its been emailed to you. Allows HTML code.</small>

		</td>
	</tr>

	<?php } ?>

		<tr class="mainrow">
		<td class="titledesc">Global Markup Price</td>
		<td class="forminp">
			<input name="adminArray[product_price_extra]" type="text" class="txt" style="width: 150px;" value="<?php echo get_option("product_price_extra"); ?>" /><br />
			<small>The value you enter here will increase the price of every product on your website by the amount you enter. e.g adding 10 will increase every product price on your website by $10.</small>

		</td>
	</tr>

 	<tr class="mainrow">
		<td class="titledesc">Enable Guest Checkouts</td>
		<td class="forminp">
			
			<select name="adminArray[checkout_display_guest]" style="width: 100px; font-size:14px;">
				<option value="yes" <?php if(get_option("checkout_display_guest") =="yes"){ print "selected";} ?>>Yes</option>
				<option value="no" <?php if(get_option("checkout_display_guest") =="no"){ print "selected";} ?>>No</option>
			</select><br />
			<small>Allow guests to checkout without having to register first.</small> 
		</td>
	</tr> 





<tr>
<td colspan="3"><p><input class="premiumpress_button" type="submit" value="Save Changes" style="color:#fff;" /></p></td>
</tr>
</table>
</form>
</div>
<div id="premiumpress_tab2" class="content">
<form method="post"  target="_self" <?php if($GLOBALS['sf'] ==1){ ?>onsubmit="UpgradeVIP();return false;"<?php } ?>>
<input name="submitted" type="hidden" value="yes" />
 

<table class="maintable" style="background:white;" id="g_2a">

	<tr class="mainrow">
		<td class="titledesc">Enable Global Tax</td>
		<td class="forminp">			
			<select name="adminArray[checkout_tax_enable]" style="width: 100px; font-size:14px;">
				<option value="yes" <?php if(get_option("checkout_tax_enable") =="yes"){ print "selected"; }?>>Yes</option>
				<option value="no" <?php if(get_option("checkout_tax_enable") =="no"){ print "selected"; }?>>No</option>
			</select><br />
			<small>Global tax will charge a general tax on the total order value + shipping regardless of country/state.</small>
		</td>
	</tr>
<?php if(get_option("checkout_tax_enable") =="yes"){ ?>
	<tr class="mainrow" style="background:#DFFFCC">
		<td class="titledesc">Global Tax Amount
		</td>
		<td class="forminp">			 
			<input type="text" class="txt" name="adminArray[checkout_tax_amount]" style="width:50px;" value="<?php echo get_option("checkout_tax_amount"); ?>"> %

			<br />
			<small>Enter the amount you would like to be added as tax for the order.</small>
		</td>
	</tr>

<?php } ?>

	
	<tr class="mainrow">
		<td class="titledesc">Enable Country/State Tax</td>
		<td class="forminp">			
			<select name="adminArray[checkout_ctax_enable]" style="width: 100px; font-size:14px;">
				<option value="no" <?php if(get_option("checkout_ctax_enable") =="no"){ print "selected"; }?>>No</option>
				<option value="yes" <?php if(get_option("checkout_ctax_enable") =="yes"){ print "selected"; }?>>Yes</option>
				
			</select><br />
			<small>Country / State tax will charge tax on the total order value + shipping depending upon the visitors country/state selected at checkout. </small>
		</td>
	</tr>
 
<tr>
<td colspan="3"><p><input class="premiumpress_button" type="submit" value="Save Changes" style="color:#fff;" /></p></td>
</tr>
</table>
</form>
</div>
<div id="premiumpress_tab3" class="content">
<form method="post" name="ShopperPress" target="_self" <?php if($GLOBALS['sf'] ==1){ ?>onsubmit="UpgradeVIP();return false;"<?php } ?>>
<input name="couponcode" type="hidden" value="1" />
<input name="submitted" type="hidden" value="yes" />
<table class="maintable" style="background:white;">

 	<tr class="mainrow">
		<td class="titledesc">Enable Coupon Codes</td>
		<td class="forminp">
			<select name="adminArray[coupon_enable]" style="width: 100px; font-size:14px;">
				<option value="yes" <?php if(get_option("coupon_enable") =="yes"){ print "selected"; }?>>Yes</option>
				<option value="no" <?php if(get_option("coupon_enable") =="no"){ print "selected"; }?>>No</option>
			</select><br />
			<small>Coupon codes allow you to offer a special discount at checkout.</small>
		</td> 	 
	</tr>

<?php if(get_option("coupon_enable") =="yes"){ ?>

	<tr class="mainrow">
		<td class="titledesc">Coupon Setup</td>
		<td class="forminp">
			<input name="coupon[name]" type="text" class="txt" style="width: 150px;" /> has a discount of <?php echo get_option("currency_code"); ?> <input name="coupon[price]" type="text" class="txt" style="width: 50px;" /> or %<input name="coupon[percentage]" type="text" class="txt" style="width: 50px;" /><br />
			<small>You can offer your customer discount codes, enter a price OR a percentage discount.</small>
		</td>
	</tr>
 
<?php } ?>

<tr>
<td colspan="3"><p><input class="premiumpress_button" type="submit" value="Save Changes" style="color:#fff;" /></p></td>
</tr>
<?php if(get_option("coupon_enable") =="yes"){ ?>
<tr>
<td colspan="3">
<table style="margin-bottom: 20px;"></table>
<h3 class="title">Current Coupons</h3>
	<table width="100%"  border="0">
	<?php
	$i=0;
	$ArrayCoupon = get_option("coupon_array");
	foreach($ArrayCoupon as $value){
	?>
	  <tr style="background:<?php if($i % 2){ ?>white;<?php }else{ ?>#E3FCE4<?php } ?>">
		<td style="padding:5px;"> 
		<p>Coupon: <?php echo $value['name']; ?> - Value: <?php if($value['price'] !=""){ echo get_option("currency_code").$value['price']; }else{ echo "%".$value['percentage']; } ?></p>
		</td><td align="center"> [ <a href="admin.php?page=checkout&delc=<?php echo $i; ?>">Delete</a> ] </td> </tr>
	
	<?php  $i++; } ?>
	</table>
</td>
</tr>
<?php } ?>
</table>

</form>
</div>
<div id="premiumpress_tab4" class="content">
<form method="post" name="ShopperPress" target="_self" <?php if($GLOBALS['sf'] ==1){ ?>onsubmit="UpgradeVIP();return false;"<?php } ?>>
<input name="submitted" type="hidden" value="yes" />
<input name="credit_packages" type="hidden" value="yes" />
<table class="maintable" style="background:white;">	
 
	<tr class="mainrow">
		<td class="titledesc">Page Text
		</td><td class="forminp">
			 
			<textarea name="adminArray[credit_page_text]" type="text" class="txt" style="width:550px;height:150px;"><?php echo stripslashes(get_option("credit_page_text")); ?></textarea>
 
			<br />
			<small>Enter any text you like to be displayed on the purchase/section credit package page. Allows HTML code.</small>

		</td>
	</tr> 

<td colspan="3">

<table width="600"  border="0">


  <tr>
    <td width="51%" height="47"><strong>Package Name </strong></td>
    <td width="13%"><div align="center"><strong>Credits (Numeric)</strong></div></td>
    <td width="24%"><div align="center"><strong>Price</strong></div></td>
    <td width="12%"><div align="center"><strong>Enabled</strong></div></td>
    </tr>
    
  <tr>  
    <td><input type="text" class="txt" name="credit_name_1" style="width:300px;" value="<?php echo get_option("credit_name_1"); ?>"></td>
    <td><div align="center"><input name="credit_del_1" type="text" class="txt" size="5" value="<?php echo get_option("credit_del_1"); ?>" style="width:100px;"></div></td>  
    <td><div align="center"><input name="credit_price_1" type="text" class="txt" size="5" value="<?php echo get_option("credit_price_1"); ?>"></div></td>
    <td><div align="center"><input type="checkbox" name="credit_enable_1" value="1" <?php if(get_option("credit_enable_1") ==1){ echo "checked"; } ?>> </div></td>
  </tr>
   <tr>  
    <td><input type="text" class="txt" name="credit_name_2" style="width:300px;" value="<?php echo get_option("credit_name_2"); ?>"></td>
    <td><div align="center"><input name="credit_del_2" type="text" class="txt" size="5" value="<?php echo get_option("credit_del_2"); ?>" style="width:100px;"></div></td>  
    <td><div align="center"><input name="credit_price_2" type="text" class="txt" size="5" value="<?php echo get_option("credit_price_2"); ?>"></div></td>
    <td><div align="center"><input type="checkbox" name="credit_enable_2" value="1" <?php if(get_option("credit_enable_2") ==1){ echo "checked"; } ?>> </div></td>
  </tr>
    <tr>  
    <td><input type="text" class="txt" name="credit_name_3" style="width:300px;" value="<?php echo get_option("credit_name_3"); ?>"></td>
    <td><div align="center"><input name="credit_del_3" type="text" class="txt" size="5" value="<?php echo get_option("credit_del_3"); ?>" style="width:100px;"></div></td>  
    <td><div align="center"><input name="credit_price_3" type="text" class="txt" size="5" value="<?php echo get_option("credit_price_3"); ?>"></div></td>
    <td><div align="center"><input type="checkbox" name="credit_enable_3" value="1" <?php if(get_option("credit_enable_3") ==1){ echo "checked"; } ?>> </div></td>
  </tr>
    <tr>  
    <td><input type="text" class="txt" name="credit_name_4" style="width:300px;" value="<?php echo get_option("credit_name_4"); ?>"></td>
    <td><div align="center"><input name="credit_del_4" type="text" class="txt" size="5" value="<?php echo get_option("credit_del_4"); ?>" style="width:100px;"></div></td>  
    <td><div align="center"><input name="credit_price_4" type="text" class="txt" size="5" value="<?php echo get_option("credit_price_4"); ?>"></div></td>
    <td><div align="center"><input type="checkbox" name="credit_enable_4" value="1" <?php if(get_option("credit_enable_4") ==1){ echo "checked"; } ?>> </div></td>
  </tr>
    <tr>  
    <td><input type="text" class="txt" name="credit_name_5" style="width:300px;" value="<?php echo get_option("credit_name_5"); ?>"></td>
    <td><div align="center"><input name="credit_del_5" type="text" class="txt" size="5" value="<?php echo get_option("credit_del_5"); ?>" style="width:100px;"></div></td>  
    <td><div align="center"><input name="credit_price_5" type="text" class="txt" size="5" value="<?php echo get_option("credit_price_5"); ?>"></div></td>
    <td><div align="center"><input type="checkbox" name="credit_enable_5" value="1" <?php if(get_option("credit_enable_5") ==1){ echo "checked"; } ?>> </div></td>
  </tr> 
 
</table><p>&nbsp;</p></td>
</tr>
    
    
<tr>
<td colspan="3"><p><input class="premiumpress_button" type="submit" value="Save Changes" style="color:#fff;" /></p></td>
</tr>
</table>
</table>

</form>  

</div>
<div id="premiumpress_tab5" class="content">


<form method="post" name="ShopperPress_tax" target="_self" <?php if($GLOBALS['sf'] ==1){ ?>onsubmit="UpgradeVIP();return false;"<?php } ?>>

<?php if(isset($_POST['showtax'])){ 
$ctax1 = get_option("ctax_".$_POST['billing']['country']);
//$ctax2 = get_option("ctax_"$_POST['billing']['country']);
?>
<input name="submitted" type="hidden" value="yes" />
<input name="ctax" type="hidden" value="yes" />
<?php }else{ ?>
<input name="showtax" type="hidden" value="yes" />
<?php } ?>

<table class="maintable" style="background:white;" id="g_1">

<?php if(isset($_POST['showtax'])){ ?>
<td colspan="3">
<div class="msg msg-info">
<p>Please re-select the country again to view the list of cities available.</p>

</div>
</td>
</tr> 
<?php } ?>


 

	<tr class="mainrow">
		<td class="titledesc"><?php if(isset($_POST['showtax'])){ ?> Re-<?php } ?>Select Country
		</td><td class="forminp">
			 
		        <select name="billing[country]" class="mid2" <?php if(isset($_POST['showtax'])){ ?> onChange="ShopperPress_ChangeState1(this.value)" <?php }else{ ?>  onChange="document.ShopperPress_tax.submit();" <?php } ?>>
                
                <?php if(isset($_POST['showtax'])){ ?>
                <option value="<?php echo $_POST['billing']['country']; ?>" style="width:400px; font-size:14px;">  Please Reselect to View Cities </option> 
                <?php } ?>
                
    <option value="United Kingdom"> ----------------- </option>     
<option value="United Kingdom">United Kingdom</option> 
<option value="United States of America">United States of America</option> 
<option value="Afghanistan">Afghanistan</option> 
<option value="Albania">Albania</option> 
<option value="Algeria">Algeria</option> 
<option value="American Samoa">American Samoa</option> 
<option value="Andorra">Andorra</option> 
<option value="Angola">Angola</option> 
<option value="Anguilla">Anguilla</option> 
<option value="Antarctica">Antarctica</option> 
<option value="Antigua and Barbuda">Antigua and Barbuda</option> 
<option value="Argentina">Argentina</option> 
<option value="Armenia">Armenia</option> 
<option value="Aruba">Aruba</option> 
<option value="Australia">Australia</option> 
<option value="Austria">Austria</option> 
<option value="Azerbaijan">Azerbaijan</option> 
<option value="Bahamas, The">Bahamas, The</option> 
<option value="Bahrain">Bahrain</option> 
<option value="Bangladesh">Bangladesh</option> 
<option value="Barbados">Barbados</option> 
<option value="Belarus">Belarus</option> 
<option value="Belgium">Belgium</option> 
<option value="Belize">Belize</option> 
<option value="Benin">Benin</option> 
<option value="Bermuda">Bermuda</option> 
<option value="Bhutan">Bhutan</option> 
<option value="Bolivia">Bolivia</option> 
<option value="Bosnia and Herzegovina">Bosnia and Herzegovina</option> 
<option value="Botswana">Botswana</option> 
<option value="Bouvet Island">Bouvet Island</option> 
 
<option value="Brazil">Brazil</option> 
<option value="British Indian Ocean Territory">British Indian Ocean Territory</option> 
<option value="British Virgin Islands">British Virgin Islands</option> 
<option value="Brunei">Brunei</option> 
<option value="Bulgaria">Bulgaria</option> 
<option value="Burkina Faso">Burkina Faso</option> 
<option value="Burundi">Burundi</option> 
<option value="Cambodia">Cambodia</option> 
<option value="Cameroon">Cameroon</option> 
 
<option value="Canada">Canada</option> 
<option value="Canary Islands">Canary Islands</option> 
<option value="Cape Verde">Cape Verde</option> 
<option value="Cayman Islands">Cayman Islands</option> 
<option value="Central African Republic">Central African Republic</option> 
<option value="Chad">Chad</option> 
<option value="Chile">Chile</option> 
<option value="China">China</option> 
<option value="Christmas Island">Christmas Island</option> 
 
<option value="Cocos (Keeling) Islands">Cocos (Keeling) Islands</option> 
<option value="Colombia">Colombia</option> 
<option value="Comoros">Comoros</option> 
<option value="Congo">Congo</option> 
<option value="Cook Islands">Cook Islands</option> 
<option value="Costa Rica">Costa Rica</option> 
<option value="Croatia">Croatia</option> 
<option value="Cuba">Cuba</option> 
<option value="Cyprus">Cyprus</option> 
 
<option value="Czech Republic">Czech Republic</option> 
<option value="Democratic Republic of the Congo">Democratic Republic of the Congo</option> 
<option value="Denmark">Denmark</option> 
<option value="Djibouti">Djibouti</option> 
<option value="Dominica">Dominica</option> 
<option value="Dominican Republic">Dominican Republic</option> 
<option value="East Timor">East Timor</option> 
<option value="Ecuador">Ecuador</option> 
<option value="Egypt">Egypt</option> 
 
<option value="El Salvador">El Salvador</option> 
<option value="Equatorial Guinea">Equatorial Guinea</option> 
<option value="Eritrea">Eritrea</option> 
<option value="Estonia">Estonia</option> 
<option value="Ethiopia">Ethiopia</option> 
<option value="Falkland Islands (Malvinas)" >Falkland Islands (Malvinas)</option> 
<option value="Faroe Islands">Faroe Islands</option> 
<option value="Fiji">Fiji</option> 
<option value="Finland">Finland</option> 
 
<option value="France">France</option> 
<option value="French Guiana">French Guiana</option> 
<option value="French Polynesia">French Polynesia</option> 
<option value="French Southern/Antarctic Lands">French Southern/Antarctic Lands</option> 
<option value="Gabon">Gabon</option> 
<option value="Gambia">Gambia</option> 
<option value="Georgia">Georgia</option> 
<option value="Germany">Germany</option> 
<option value="Ghana">Ghana</option> 
 
<option value="Gibraltar">Gibraltar</option> 
<option value="Greece">Greece</option> 
<option value="Greenland">Greenland</option> 
<option value="Grenada">Grenada</option> 
<option value="Guadeloupe">Guadeloupe</option> 
<option value="Guam">Guam</option> 
<option value="Guatemala">Guatemala</option> 
<option value="Guinea">Guinea</option> 
<option value="Guinea-Bissau">Guinea-Bissau</option> 
 
<option value="Guyana">Guyana</option> 
<option value="Haiti">Haiti</option> 
<option value="Heard and McDonald Islands">Heard and McDonald Islands</option> 
<option value="Honduras">Honduras</option> 
<option value="Hong Kong">Hong Kong</option> 
<option value="Hungary">Hungary</option> 
<option value="Iceland">Iceland</option> 
<option value="India">India</option> 
<option value="Indonesia">Indonesia</option> 
 
<option value="Iraq">Iraq</option> 
<option value="Ireland">Ireland</option> 
<option value="Islamic Republic of Iran">Islamic Republic of Iran</option> 
<option value="Israel">Israel</option> 
<option value="Italy">Italy</option> 
<option value="Ivory Coast">Ivory Coast</option> 
<option value="Jamaica">Jamaica</option> 
<option value="Japan">Japan</option> 
<option value="Jordan">Jordan</option> 
 
<option value="Kazakhstan">Kazakhstan</option> 
<option value="Kenya">Kenya</option> 
<option value="Kiribati">Kiribati</option> 
<option value="Korea, South">Korea, South</option> 
<option value="Kuwait">Kuwait</option> 
<option value="Kyrgyzstan">Kyrgyzstan</option> 
<option value="Lao Peoples Democratic Republic">Lao Peoples Democratic Republic</option> 
<option value="Latvia">Latvia</option> 
<option value="Lebanon">Lebanon</option> 
 
<option value="Lesotho">Lesotho</option> 
<option value="Liberia" >Liberia</option> 
<option value="Libya">Libya</option> 
<option value="Liechtenstein">Liechtenstein</option> 
<option value="Lithuania">Lithuania</option> 
<option value="Luxembourg">Luxembourg</option> 
<option value="Macau">Macau</option> 
<option value="Macedonia">Macedonia</option> 
<option value="Madagascar">Madagascar</option> 
 
<option value="Malawi">Malawi</option> 
<option value="Malaysia">Malaysia</option> 
<option value="Maldives">Maldives</option> 
<option value="Mali">Mali</option> 
<option value="Malta">Malta</option> 
<option value="Man, Isle of">Man, Isle of</option> 
<option value="Marshall Islands">Marshall Islands</option> 
<option value="Martinique">Martinique</option> 
<option value="Mauritania">Mauritania</option> 
 
<option value="Mauritius" >Mauritius</option> 
<option value="Mayotte">Mayotte</option> 
<option value="Mexico">Mexico</option> 
<option value="Micronesia">Micronesia</option> 
<option value="Moldova, Republic of">Moldova, Republic of</option> 
<option value="Monaco">Monaco</option> 
<option value="Mongolia">Mongolia</option> 
<option value="Monserrat">Monserrat</option> 
<option value="Morocco">Morocco</option> 
 
<option value="Mozambique">Mozambique</option> 
<option value="Namibia">Namibia</option> 
<option value="Nauru">Nauru</option> 
<option value="Nepal">Nepal</option> 
<option value="Netherlands">Netherlands</option> 
<option value="Netherlands Antilles">Netherlands Antilles</option> 
<option value="New Caledonia">New Caledonia</option> 
<option value="New Zealand">New Zealand</option> 
<option value="Nicaragua">Nicaragua</option> 
 
<option value="Niger">Niger</option> 
<option value="Nigeria">Nigeria</option> 
<option value="Niue">Niue</option> 
<option value="Norfolk Island">Norfolk Island</option> 
<option value="Northern Mariana Islands">Northern Mariana Islands</option> 
<option value="Norway">Norway</option> 
<option value="Oman">Oman</option> 
<option value="Pakistan">Pakistan</option> 
<option value="Palau">Palau</option> 
 
<option value="Panama">Panama</option> 
<option value="Papua New Guinea">Papua New Guinea</option> 
<option value="Paraguay">Paraguay</option> 
<option value="Peru">Peru</option> 
<option value="Philippines">Philippines</option> 
<option value="Pitcairn">Pitcairn</option> 
<option value="Poland">Poland</option> 
<option value="Portugal">Portugal</option> 
<option value="Puerto Rico">Puerto Rico</option> 
 
<option value="Qatar">Qatar</option> 
<option value="Reunion">Reunion</option> 
<option value="Romania">Romania</option> 
<option value="Russia">Russia</option> 
<option value="Rwanda">Rwanda</option> 
<option value="Saint Lucia">Saint Lucia</option> 
<option value="Samoa">Samoa</option> 
<option value="San Marino">San Marino</option> 
<option value="Sao Tome and Principe">Sao Tome and Principe</option> 
 
<option value="Saudi Arabia">Saudi Arabia</option> 
<option value="Senegal">Senegal</option> 
<option value="Seychelles">Seychelles</option> 
<option value="Sierra Leone">Sierra Leone</option> 
<option value="Singapore">Singapore</option> 
<option value="Slovakia">Slovakia</option> 
<option value="Slovenia">Slovenia</option> 
<option value="Solomon Islands">Solomon Islands</option> 
<option value="Somalia">Somalia</option> 
 
<option value="South Africa">South Africa</option> 
<option value="South Georgia/Sandwich Islands">South Georgia/Sandwich Islands</option> 
<option value="Spain">Spain</option> 
<option value="Sri Lanka">Sri Lanka</option> 
<option value="St. Helena">St. Helena</option> 
<option value="St. Kitts and Nevis">St. Kitts and Nevis</option> 
<option value="St. Pierre and Miquelon">St. Pierre and Miquelon</option> 
<option value="St. Vincent and the Grenadines">St. Vincent and the Grenadines</option> 
<option value="Sudan">Sudan</option> 
<option value="Suriname">Suriname</option> 
<option value="Svalbard/Jan Mayen Islands">Svalbard/Jan Mayen Islands</option> 
<option value="Swaziland">Swaziland</option> 
<option value="Sweden">Sweden</option> 
<option value="Switzerland">Switzerland</option> 
<option value="Syria">Syria</option> 
<option value="Taiwan">Taiwan</option> 
<option value="Tajikistan">Tajikistan</option> 
<option value="Tanzania, United Republic of">Tanzania, United Republic of</option> 
 
<option value="Thailand">Thailand</option> 
<option value="Togo">Togo</option> 
<option value="Tokelau">Tokelau</option> 
<option value="Tonga">Tonga</option> 
<option value="Trinidad and Tobago">Trinidad and Tobago</option> 
<option value="Tunisia">Tunisia</option> 
<option value="Turkey">Turkey</option> 
<option value="Turkmenistan">Turkmenistan</option> 
<option value="Turks and Caicos Islands">Turks and Caicos Islands</option> 
 
<option value="Tuvalu">Tuvalu</option> 
<option value="U.S. Minor Outlying Islands">U.S. Minor Outlying Islands</option> 
<option value="Uganda">Uganda</option> 
<option value="Ukraine">Ukraine</option> 
<option value="United Arab Emirates">United Arab Emirates</option> 
<option value="Uruguay">Uruguay</option> 
<option value="Uzbekistan">Uzbekistan</option> 
 
<option value="Vanuatu">Vanuatu</option> 
<option value="Vatican City State (Holy See)">Vatican City State (Holy See)</option> 
<option value="Venezuela">Venezuela</option> 
<option value="Vietnam">Vietnam</option> 
<option value="Virgin Islands">Virgin Islands</option> 
<option value="Wallis and Futuna Islands">Wallis and Futuna Islands</option> 
<option value="Western Sahara">Western Sahara</option> 
<option value="Yemen">Yemen</option> 
<option value="Zambia">Zambia</option> 
<option value="Zimbabwe">Zimbabwe</option> 
        </select>

		</td>
	</tr>
    
    <?php if(isset($_POST['showtax'])){ ?>

	<tr class="mainrow">
		<td class="titledesc">Country Tax Amount
		</td><td class="forminp">
			 
			<input type="text" class="txt" name="billing[country_tax]" style="width:50px;" value="<?php echo $ctax1; ?>"> %
 
			<br />
			<small>Enter the amount you would like to be added as tax for the order.</small>

		</td>
	</tr>
    
    
    
    
    	<tr class="mainrow">
		<td class="titledesc">Select State
		</td><td class="forminp">
			 
		 <div id="ShopperPressState"></div><!-- AJAX STATE LIST -->

		</td>
	</tr>
    
    
    
    	<tr class="mainrow">
		<td class="titledesc">State Tax Amount
		</td><td class="forminp">
			 
			<input type="text" class="txt" name="billing[city_tax]" style="width:50px;" value=""> %
 
			<br />
			<small>Enter the amount you would like to be added as tax for the order.</small>

		</td>
	</tr>
 
	<tr>
	<td colspan="3"><p><input class="premiumpress_button" type="submit" value="Save Changes" style="color:#fff;" /></p></td>
	</tr>

<?php } ?> 
</table>

</form> 


</div>
<div id="premiumpress_tab6" class="content">

<form method="post" name="ShopperPress" target="_self" <?php if($GLOBALS['sf'] ==1){ ?>onsubmit="UpgradeVIP();return false;"<?php } ?>>
<input name="submitted" type="hidden" value="yes" />
<input name="promo" type="hidden" value="yes" />
<table class="maintable" style="background:white;">	

	<tr class="mainrow">
		<td class="titledesc">Enable Quantity Promotions</td>

		<td class="forminp">
			<input type="checkbox" class="checkbox" name="enable_promotionqty" value="1" <?php if(get_option("enable_promotionqty") =="1"){ print "checked";} ?> />
		</td>
	</tr>

	<tr class="mainrow">
		<td class="titledesc">Quantity Promotion 1</td>
		<td class="forminp">
			If the order quantity is between
			<input name="adminArray[promotion_qty1a]" type="text" class="txt" style="width: 50px;" value="<?php echo get_option("promotion_qty1a"); ?>" /> and 
			<input name="adminArray[promotion_qty1b]" type="text" class="txt" style="width: 50px;" value="<?php echo get_option("promotion_qty1b"); ?>" />			
			 items.<br />
			 <br />
			 Offer a 
			 price discount of %
			 <input name="adminArray[promotion_qty1c]" type="text" class="txt" style="width: 50px;" value="<?php echo get_option("promotion_qty1c"); ?>" /> 
		    or <?php echo get_option("currency_code"); ?>		    <input name="adminArray[promotion_qty1d]" type="text" class="txt" style="width: 50px;" value="<?php echo get_option("promotion_qty1d"); ?>" />			 <br />		</td>
	</tr>

	<tr class="mainrow">
		<td class="titledesc">Quantity Promotion 2</td>
		<td class="forminp">
		If the order quantity is between
			<input name="adminArray[promotion_qty2a]" type="text" class="txt" style="width: 50px;" value="<?php echo get_option("promotion_qty2a"); ?>" /> and 
			<input name="adminArray[promotion_qty2b]" type="text" class="txt" style="width: 50px;" value="<?php echo get_option("promotion_qty2b"); ?>" />			
			 items.<br />
			 <br />
			 Offer a 
			 price discount of %
			 <input name="adminArray[promotion_qty2c]" type="text" class="txt" style="width: 50px;" value="<?php echo get_option("promotion_qty2c"); ?>" /> 
		    or <?php echo get_option("currency_code"); ?>		    <input name="adminArray[promotion_qty2d]" type="text" class="txt" style="width: 50px;" value="<?php echo get_option("promotion_qty2d"); ?>" />			 <br />		</td>


</td>
	</tr>

	<tr class="mainrow">
		<td class="titledesc">Quantity Promotion 3</td>
		<td class="forminp">

		If the order quantity is between
			<input name="adminArray[promotion_qty3a]" type="text" class="txt" style="width: 50px;" value="<?php echo get_option("promotion_qty3a"); ?>" /> and 
			<input name="adminArray[promotion_qty3b]" type="text" class="txt" style="width: 50px;" value="<?php echo get_option("promotion_qty3b"); ?>" />			
			 items.<br />
			 <br />
			 Offer a 
			 price discount of %
			 <input name="adminArray[promotion_qty3c]" type="text" class="txt" style="width: 50px;" value="<?php echo get_option("promotion_qty3c"); ?>" /> 
		    or <?php echo get_option("currency_code"); ?>		    <input name="adminArray[promotion_qty3d]" type="text" class="txt" style="width: 50px;" value="<?php echo get_option("promotion_qty3d"); ?>" />			 <br />		</td>

</td>
	</tr>


<tr>
<td colspan="3"><p><input class="premiumpress_button" type="submit" value="Save Changes" style="color:#fff;" /></p></td>
</tr>
</table>
</form>


</div>            
					 
       
</div>
</div>
<div class="clearfix"></div> 


